<?php
/*
 * Created on 2011-10-11
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 /**
 if($_POST){
 	echo '<pre>';
 	print_r($_POST);
 	
 }
 $input = array('a');
 $ar = array_pad($input,800,'0');

 echo "<form method='post' name='ids' action='test.php'>";
 foreach($ar as $k=>$v){
 	echo ''.$k.'<input name="t'.$k.'[]" value="新浪网新闻中心是新浪网最重要的频道之一，24小时滚动报道国内、国际及社会新闻。每日编发新闻数以万计。" />';
 	echo '<input type="checkbox" value="'.$k.'" name="chk[]"  checked="checked"/>';
 }
 echo '<input type="submit" name="submit" value="submit">';
 echo "</form>";
 **/
 echo basename($_SERVER['PHP_SELF']);
 
 
?>
